<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->escape($this->title); ?></title>
    <style type="text/css">
    #loading-mask{
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        background-color:white;
    }
    #loading{
        position:absolute;
        left:45%;
        top:40%;
        padding:2px;
        z-index:20001;
        height:auto;
    }
    #loading a {
        color:#225588;
    }
    #loading .loading-indicator{
        background:white;
        color:#444;
        font:bold 13px tahoma,arial,helvetica;
        padding:10px;
        margin:0;
        height:auto;
    }
    #loading-msg {
        font: normal 10px arial,tahoma,sans-serif;
    }
    </style>

<!--<script type="text/javascript">
var sFCKeditorToolbar = 'Default';
var sFCKeditorBasePath = '../editor/';
var sFCKeditorBaseHref = 'http://localhost/mmmoritel.hu/';
var sFCKeditorSkinPath = '../editor/editor/skins/office2003/';
</script>

    --><!-- TinyMCE
    <script type='text/javascript' src='<?=JS_PATH?>/plugins/miframe-min.js'></script>
    <script type='text/javascript' src='<?=JS_PATH?>/plugins/tinymce/tiny_mce.js'></script>
    <script type='text/javascript' src='<?=JS_PATH?>/plugins/Ext.ux.TinyMCE.min.js'></script>
    <script type='text/javascript' src='<?=JS_PATH?>/tinymce.js'></script>
    -->
</head>
<body scroll="no">
    <div id="mask">
        <div id="loading-mask" style=""></div>
        <div id="loading">
            <div class="loading-indicator">
                <center><img src="<?=SRC_PATH?>/public/images/logo_vnf.png"/></center>
                <br>Control panel - <a href="http://extjs.com">vietnamfriendly.net</a><br /><span id="loading-msg">Loading styles and images...</span></div>
        </div>
    </div>

    <link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/resources/css/ext-all.css" />
    
    <!--link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/examples/form/file-upload.css"/-->
    <link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/examples/ux/fileuploadfield/css/fileuploadfield.css"/>


    <!-- GC -->
    <!-- LIBS -->
    <script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading Core API...';</script>
    <script type="text/javascript" src="<?=EXT_PATH?>/adapter/ext/ext-base.js"></script>
    <!-- ENDLIBS -->

    <script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading UI Components...';</script>
    <script type="text/javascript" src="<?=EXT_PATH?>/ext-all.js"></script>
    <script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Initializing...';</script>

    <!-- DESKTOP -->
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/js/StartMenu.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/js/TaskBar.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/js/Desktop.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/js/App.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/js/Module.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/desktop/sample.js"></script>
    <script type="text/javascript" src="<?=EXT_PATH?>/examples/ux/fileuploadfield/FileUploadField.js"></script>


    <script type='text/javascript' src='<?=JS_PATH?>/plugins/fckeditor/fckeditor.js'></script>
    <script type='text/javascript' src='<?=JS_PATH?>/plugins/Ext.FCKeditor.js'></script>

    <script type="text/javascript">
        var sFCKeditorToolbar = 'Default';
        var sFCKeditorBasePath = '<?=JS_PATH?>/plugins/fckeditor/';
        var sFCKeditorBaseHref = window.location;
        var sFCKeditorSkinPath = '<?=JS_PATH?>/plugins/fckeditor/editor/skins/office2003/';
    </script>
    
    <script type="text/javascript">document.getElementById('mask').innerHTML = '';</script>

    <link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/examples/desktop/css/desktop.css" />

<?php echo $this->placeholder('Zend_Layout')->content;?>
</body>

<script type='text/javascript' src='<?=EXT_PATH?>/ux/TreeGrid.js'></script>
<!-- script type='text/javascript' src='<?=EXT_PATH?>/vnf/CategoryPanel.js'></script-->
<link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/ux/TreeGrid.css" />

<script type="text/javascript">
    Ext.override(Ext.form.BasicForm,{
        reset:function(){
            this.el.dom.reset();            // Added this line
            this.items.each(function(f){
                f.reset();
            });
            return this;
        }
    });
</script>
<script type='text/javascript' src='<?=EXT_PATH?>/vnf/CategoryPanel.js'></script>
<link rel="stylesheet" type="text/css" href="<?=EXT_PATH?>/examples/ux/css/GroupSummary.css" />
<script type="text/javascript" src="<?=EXT_PATH?>/examples/ux/GroupSummary.js"></script></html>
</html>